package lz.controls.data
{
	/**
	 * TileListCollectionItem 类在表示数据提供程序的可检查属性中定义单个项目。
	 * TileListCollectionItem 对象是一个只包含 label 和 source 属性的集合列表项目，主要用在 TileList 组件中。
	 */
	dynamic public class TileListCollectionItem
	{
		/**
		 * 对象的标签属性。
		 */
		public var label:String;
		/**
		 * 对象的 source 属性。
		 */
		public var source:String;
		
		/* *
		 * Indicates whether the loaded content maintains the original 
		 * aspect ratio of the source or is resized to the dimensions of
		 * the TileList image cell. A value of <code>true</code> indicates
		 * that the original aspect ratio is to be maintained; a value of <code>false</code>
		 * indicates that the content is to be resized.
		 * /
		public var maintainAspectRatio:Boolean = true;
		*/
		
		/**
         * 创建一个新 TileListCollectionItem 对象。
		 */
		public function TileListCollectionItem() {}	
		/**
		 */
		public function toString():String 
		{
			return "[TileListCollectionItem: "+label+","+source+"]";	
		}
	}	
}